package org.crl.blogsystem.entity.dto;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class CommentDTO {
    private Long id;
    private String username;
    private String avatar;
    private Long blogId;
    private String content;
    private LocalDateTime createdAt;

    public CommentDTO() {
    }

    public CommentDTO(Long id, String username, String avatar, Long blogId, String content, LocalDateTime createdAt) {
        this.id = id;
        this.username = username;
        this.avatar = avatar;
        this.blogId = blogId;
        this.content = content;
        this.createdAt = createdAt;
    }
}
